import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
export default defineConfig({
  base: "./",
  plugins: [vue()],
  server: {
    host: '0.0.0.0',
    port: 8866,
    // 是否开启 https
    https: false,
  },
  css: {
    preprocessorOptions: {
      less: {
        modifyVars: {
          'primary-color': 'green'
        },
        javascriptEnabled:true
      }
    }
  }
})
